﻿// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
//using System;

//class GradeClassification
//{
    //static void Main()
    //{
        Console.Write("请输入学生成绩：");
        int score = Convert.ToInt32(Console.ReadLine());
        char grade;

        if (score >= 90)
        {
            grade = 'A';
        }
        else if (score >= 60 && score <= 89)
        {
            grade = 'B';
        }
        else
        {
            grade = 'C';
        }

        Console.WriteLine($"成绩等级：{grade}");
    //}
//}